package com.example.drainage.ui.shadow

import androidx.annotation.ColorInt

/**
 * @author 创建人 ：yanghaozhang
 * @version 1.0
 * @package 包名 ：com.example.drainage.ui.shadow
 * @createTime 创建时间 ：2021/11/27
 * @modifyBy 修改人 ：
 * @modifyTime 修改时间 ：
 * @modifyMemo 修改备注：
 */
open class ShadowSetting(
    // 模糊半径
    var shadowAffectRadius: Float = 0f,
    var shadowDx: Float = 0f,
    var shadowDy: Float = 0f,
    // 留给阴影显示的空间大小
    var shadowMargin: Int? = null,
    var shadowMarginLeft: Int? = null,
    var shadowMarginRight: Int? = null,
    var shadowMarginTop: Int? = null,
    var shadowMarginBottom: Int? = null,
    // 阴影颜色
    @ColorInt
    var shadowColor: Int? = null,
    // 背景圆角
    var shapeCornerRadius: Int? = null,
    var shapeCornerRadiusTL: Int? = null,
    var shapeCornerRadiusTR: Int? = null,
    var shapeCornerRadiusBL: Int? = null,
    var shapeCornerRadiusBR: Int? = null,
    // 背景边框线
    var shapeStrokeWidth: Int? = null,
    @ColorInt
    var shapeStrokeColor: Int? = null,
    // 背景填充色
    @ColorInt
    var shapeSolidColor: Int? = null,
)